package com.tkjt.pms.modules.kpiAudit.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.util.List;

public class TkIndexValueAuditVO {
	/**主健*/
	private String id;
	/**指标归属*/
	private String indexGroup;
    private String indexGroupName;
	/**评分指标值年份*/
	private String indexValueY;
	/**评分月份*/
	private String indexValueM;
	/**评分年月*/
	private String yearmonth;
	/**审批意见*/
	private String auditStatus;
	/**审批提交时间*/
	private String submitTime;
	/**审批时间*/
	private String auditTime;
	/**审批意见*/
	private String auditComments;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getIndexGroup() {
		return indexGroup;
	}
	public void setIndexGroup(String indexGroup) {
		this.indexGroup = indexGroup;
	}
	public String getIndexValueY() {
		return indexValueY;
	}
	public void setIndexValueY(String indexValueY) {
		this.indexValueY = indexValueY;
	}
	public String getIndexValueM() {
		return indexValueM;
	}
	public void setIndexValueM(String indexValueM) {
		this.indexValueM = indexValueM;
	}

	public String getYearmonth() {
		return yearmonth;
	}
	public void setYearmonth(String yearmonth) {
		this.yearmonth = yearmonth;
	}
	public String getAuditStatus() {
		return auditStatus;
	}
	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}
	public String getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}
	public String getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}
	public String getAuditComments() {
		return auditComments;
	}
	public void setAuditComments(String auditComments) {
		this.auditComments = auditComments;
	}

    public String getIndexGroupName() {
        return indexGroupName;
    }

    public void setIndexGroupName(String indexGroupName) {
        this.indexGroupName = indexGroupName;
    }

    private List<TkIndexValueAuditVO> tkIndexValueAuditList ;
	
    @Transient
	public List<TkIndexValueAuditVO> getTkIndexValueAuditList() {
		return tkIndexValueAuditList;
	}

	public void setTkIndexValueAuditList(List<TkIndexValueAuditVO> tkIndexValueAuditList) {
		this.tkIndexValueAuditList = tkIndexValueAuditList;
	}

	////审批意见(1:待审核；2:审核中; 3:已审核; 4:已退回)
    public String getAuditStatusByStr(int status){
        switch (status){
            case 1:
                return "待审核";
            case 2:
                return "审核中";
            case 3:
                return "已审核";
            case 4:
                return "已退回";
            default:
                return "待审核";
        }
    }
}
